package com.diabeco.data.measures;

import java.util.Date;
import java.util.List;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

import com.diabeco.model.measures.GlycemiaMeasure;

public interface GlycemiaMeasureDao {

	SQLiteDatabase getReadableDatabase();

	SQLiteDatabase getWritableDatabase();

	void setContext(Context context);

	Long count();

	void persist(GlycemiaMeasure glycemiaMeasure);

	GlycemiaMeasure select(Long id);

	List<GlycemiaMeasure> selectBetweenDates(Date from, Date to);

	List<GlycemiaMeasure> selectAll();

	void delete(Long id);

	void clear();

}
